const mode = process.env.mode || 'production'

module.exports = {
  mode,
  module: {
    rules: [{
      test: /\.(js|jsx)?$/,
      use: ['babel-loader']
    }]
  },
  resolve: {
    extensions: [".js",".jsx", ".json", ".scss"]
  }
}